export interface MerchantData {
  id: number
  merchantUserId: number
  name: string
  logo: string
  canteenId: number
  rating: number
  baseTime: number
  distance: number
  minPrice: number
  deliveryFee: number
  sales: number
  address: string
  licenseImage: string
  shopImage: string
  description: string
  phone: string
  latitude: number
  longitude: number
  status: number
  closeMethod: number
  supportDelivery: number
  supportDineIn: number
  supportTakeout: number
  infoCompleted: number
  seqNo: number
  createTime: string
  updateTime: string
  seqExpireDate?: string
}

export interface GetMerchantRequestData {
  pageNo: number
  pageSize: number
  name?: string
  phone?: string
  status?: number
}

export interface UpdateMerchantRequestData {
  id: number
  name?: string
  logo?: string
  canteenId?: number
  baseTime?: number
  minPrice?: number
  deliveryFee?: number
  address?: string
  licenseImage?: string
  shopImage?: string
  description?: string
  phone?: string
  latitude?: number
  longitude?: number
  supportDelivery?: number
  supportDineIn?: number
  supportTakeout?: number
}

export type MerchantResponseData = ApiResponseData<{
  list: MerchantData[]
  total: number
}>
